<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String ctxPath = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ ctxPath + "/";
	String SYSTEM_NAME = "EZMES";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base id="baseUrl" href="<%=basePath%>"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
    <title><%=SYSTEM_NAME%></title>
</head>
 
  <link rel="stylesheet" href="<%=basePath %>/webapp/css/amazeui.min.css" />
  <style>
  * {font-family: 微软雅黑}
  </style>
  <body>
    <div class="am-g" >
    	<div class="am-u-sm-12" style="margin-top: 5px;margin-bottom: 0px">
	    	<!-- 作者   和作者简介 -->
	    	<div class="am-g" style="padding-bottom: 0px;border-bottom:1px solid #dedede;">
	    		<div class="am-u-sm-12">
	    			<div class="am-g" style="margin-bottom: 5px">
	    				<div class="am-u-sm-2" style="padding-top:3px">
	    					<img alt="" class="am-circle" src="<%=basePath %>/webapp/img/a5.jpg" style="width: 35px;height:35px">
	    				</div>
	    				<div class="am-u-sm-8" style="padding-left:0px">
	    					<div class="am-u-sm-12" style="font-size: 15px;line-height: 15px;margin-top:3px">${news.n_author } <span style="margin-left:5px;color:#3c70b6">【编辑】</span></div>
	    					<div class="am-u-sm-12" style="font-size:10px;line-height: 10px;margin-top:8px">${news.personalized_signature}</div>
	    				</div>
	    				<div class="am-u-sm-2" style="padding-left:0px;padding-right:0px;padding-top:8px">
	    					<a href="" data-am-offcanvas onClick="javascript:history.back(-1);"> <%--<i
							class="am-header-icon am-icon-reply" style="margin-top:15px;color: #3c70b6;"></i> --%>
							<span style="border: 1px solid;border-color:color:#3c70b6;;width: 120px;font-size: 15px;margin-left: 5px;margin-top:10px;padding-top:1px;padding-bottom:2px;padding-left:6px;padding-right:6px;border-radius:25px;">
								<span style="margin:2px;margin-top:1px;margin-bottom:2px;color:color:#3c70b6;font-size:10px">返回</span>
							</span>
							</a>
	    				</div>
	    			</div>
	    		</div>
	    	</div>
	    	<!-- 新闻标题 -->
	    	<div class="am-g" style="text-align: center;margin-top:20px;font-size: 20px;font-weight:bolder;">
	    		<div class="am-u-sm-12">
	    			${news.n_title}
	    		</div>
	    	</div>
	    	<!-- 新闻发表时间 -->
	    	<div class="am-g" style="text-align: center;margin-top: 5px;color: #757575;font-size: 10px">
	    		<div class="am-u-sm-12">
	    			${news.n_date}
	    		</div>
	    	</div>
	    	<!-- 新闻正文 -->
	    	<div class="am-g" id="contenId">
	    		<div class="am-u-sm-12" style="font-size:15px">
	    			${news.n_content}
	    		</div>
	    	</div>
    	</div>
    </div>
  </body>
  <script src="<%=basePath %>/webapp/js/jquery-1.11.0.min.js"></script>
  <script src="<%=basePath %>/webapp/js/amazeui.min.js"></script>
  <script type="text/javascript">
  $(function(){
		var imgs = $("#contenId img");
		for(var i = 0;i<imgs.length;i++){
			$(imgs[i]).attr("width","100%");
			$(imgs[i]).attr("height","100%");
			$(imgs[i]).css("max-height","200px");
		}
	});
  </script>
  <style>
		
	</style>
</html>
